package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the TITULOS_24H_2006_SOCIEDADES database table.
 * 
 */
//@Entity
//@Table(name="TITULOS_24H_2006_SOCIEDADES")
public class Titulos24h2006Sociedade implements Serializable {
	private static final long serialVersionUID = 1L;
	private String aaHojaPres;
	private String agntSync;
	private String anoTitu;
	private String areaRegId;
	private String codActo;
	private Date fecVenc;
	private BigDecimal nsActoTitu;
	private String numHojaPres;
	private String numTitu;
	private String oficRegId;
	private String presOficRegId;
	private String presRegPubId;
	private BigDecimal refnumTitu;
	private String regPubId;
	private String sistemaId;
	private Date tsPresent;
	private Date tsUltSync;

    public Titulos24h2006Sociedade() {
    }


	@Column(name="AA_HOJA_PRES", nullable=false, length=4)
	public String getAaHojaPres() {
		return this.aaHojaPres;
	}

	public void setAaHojaPres(String aaHojaPres) {
		this.aaHojaPres = aaHojaPres;
	}


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="ANO_TITU", nullable=false, length=4)
	public String getAnoTitu() {
		return this.anoTitu;
	}

	public void setAnoTitu(String anoTitu) {
		this.anoTitu = anoTitu;
	}


	@Column(name="AREA_REG_ID", length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="COD_ACTO", nullable=false, length=5)
	public String getCodActo() {
		return this.codActo;
	}

	public void setCodActo(String codActo) {
		this.codActo = codActo;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FEC_VENC")
	public Date getFecVenc() {
		return this.fecVenc;
	}

	public void setFecVenc(Date fecVenc) {
		this.fecVenc = fecVenc;
	}


	@Column(name="NS_ACTO_TITU", nullable=false, precision=5)
	public BigDecimal getNsActoTitu() {
		return this.nsActoTitu;
	}

	public void setNsActoTitu(BigDecimal nsActoTitu) {
		this.nsActoTitu = nsActoTitu;
	}


	@Column(name="NUM_HOJA_PRES", nullable=false, length=10)
	public String getNumHojaPres() {
		return this.numHojaPres;
	}

	public void setNumHojaPres(String numHojaPres) {
		this.numHojaPres = numHojaPres;
	}


	@Column(name="NUM_TITU", nullable=false, length=8)
	public String getNumTitu() {
		return this.numTitu;
	}

	public void setNumTitu(String numTitu) {
		this.numTitu = numTitu;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="PRES_OFIC_REG_ID", nullable=false, length=2)
	public String getPresOficRegId() {
		return this.presOficRegId;
	}

	public void setPresOficRegId(String presOficRegId) {
		this.presOficRegId = presOficRegId;
	}


	@Column(name="PRES_REG_PUB_ID", nullable=false, length=2)
	public String getPresRegPubId() {
		return this.presRegPubId;
	}

	public void setPresRegPubId(String presRegPubId) {
		this.presRegPubId = presRegPubId;
	}


	@Column(name="REFNUM_TITU", nullable=false)
	public BigDecimal getRefnumTitu() {
		return this.refnumTitu;
	}

	public void setRefnumTitu(BigDecimal refnumTitu) {
		this.refnumTitu = refnumTitu;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


	@Column(name="SISTEMA_ID", nullable=false, length=3)
	public String getSistemaId() {
		return this.sistemaId;
	}

	public void setSistemaId(String sistemaId) {
		this.sistemaId = sistemaId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_PRESENT", nullable=false)
	public Date getTsPresent() {
		return this.tsPresent;
	}

	public void setTsPresent(Date tsPresent) {
		this.tsPresent = tsPresent;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}